<template>
  <div id="app">
    <router-view/>
  </div>
</template>
<script>
  export default {
    watch:{
      //监听路由
      $route(to){
        this.$nextTick(()=>{
          this.$zh_tran(localStorage.getItem("lang"))
        })
      }
    }
  }
</script>